﻿namespace Jim.OA;

/// <summary>
/// 根据tabids 来获取流程数量
/// </summary>
[Sdk("/api/workflow/paService/getToDoRequestCount", Description = "根据tabids 来获取流程数量")]
public class OAGetToDoByTabRequestCountInput : OAGetRequestCountInput
{
    /// <summary>
    /// 要查询的范围 如: 0 全部待办 ， 1 未读 ， 多个tabid之间使用 ‘，’ 分隔。 不传默认为0
    /// </summary>
    public string TabIds { get; set; }

    public override SdkDictionary Dic()
    {
        var dic = base.Dic();
        if (!string.IsNullOrEmpty(TabIds)) dic.Add("tabIds", TabIds);
        return dic;
    }
}

/// <summary>
/// 获取已办流程数量
/// </summary>
[Sdk("/api/workflow/paService/getHandledWorkflowRequestCount", Description = "获取已办流程数量")]
public class OAGetHandledRequestCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取办结流程数量
/// </summary>
[Sdk("/api/workflow/paService/getProcessedWorkflowRequestCount", Description = "获取办结流程数量")]
public class OAGetProcessedRequestCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取所有发起流程数量
/// </summary>
[Sdk("/api/workflow/paService/getMyWorkflowRequestCount", Description = "获取所有发起流程数量")]
public class OAGetMyRequestCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取待办中退回的流程数据数量
/// </summary>
[Sdk("/api/workflow/paService/getBeRejectWorkflowRequestCount", Description = "获取待办中退回的流程数据数量")]
public class OAGetBeRejectRequestCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取待办中抄送流程数量
/// </summary>
[Sdk("/api/workflow/paService/getCCWorkflowRequestCount", Description = "获取待办中抄送流程数量 ")]
public class OAGetCCRequestCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取待处理的流程数据数量
/// </summary>
[Sdk("/api/workflow/paService/getDoingWorkflowRequestCount", Description = "获取待处理的流程数据数量")]
public class OAGetDoingRequesCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取转发流程数量(只统计还在待办的)
/// </summary>
[Sdk("/api/workflow/paService/getForwardWorkflowRequestCount", Description = "获取转发流程数量(只统计还在待办的)")]
public class OAGetForwardRequesCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取待阅流程数量
/// </summary>
[Sdk("/api/workflow/paService/getToBeReadWorkflowRequestCount", Description = "获取待阅流程数量")]
public class OAGetToBeReadRequesCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取待办流程数据数量
/// </summary>
[Sdk("/api/workflow/paService/getToDoWorkflowRequestCount", Description = "获取待办流程数据数量")]
public class OAGetToDoRequesCountInput : OAGetRequestCountInput { }

/// <summary>
/// 获取所有流程数据数量
/// </summary>
[Sdk("/api/workflow/paService/getAllWorkflowRequestCount", Description = "获取所有流程数据数量")]
public class OAGetAllRequesCountInput : OAGetRequestCountInput { }